package com.zhong.scanerdemo.model;

import com.zhong.scanerdemo.CaptureActivity;

public class UploadMsg {
	private  String dutyOfficer;
	private  String driver;
	private  String carNum;
	private  String startingPoint;
	private  String destination;
	private boolean isUploadDirect;
	
	//新增
	private  String uid;
	private  String pwd;
	private  String source ;
	private  String startDate ;
	private  String method ;
	private  String descr;
	
	public UploadMsg() {
		super();
		this.isUploadDirect = CaptureActivity.sharedPreferences.getBoolean("isUploadIm", false);
		this.dutyOfficer = CaptureActivity.sharedPreferences.getString("dutyOfficer", "");
		this.driver = CaptureActivity.sharedPreferences.getString("driver", "");
		this.carNum = CaptureActivity.sharedPreferences.getString("carNum", "");
		this.startingPoint = CaptureActivity.sharedPreferences.getString("startingPoint", "");
		this.destination = CaptureActivity.sharedPreferences.getString("destination", "");
		// 新增
		this.uid = CaptureActivity.sharedPreferences.getString("uid", "");
		this.pwd = CaptureActivity.sharedPreferences.getString("pwd", "");
		this.source =CaptureActivity. sharedPreferences.getString("source", "");
		this.startDate = CaptureActivity.sharedPreferences.getString("startDate", "");
		this.method = CaptureActivity.sharedPreferences.getString("method", "");
		this.descr = CaptureActivity.sharedPreferences.getString("descr", "");
	}

	public String getDutyOfficer() {
		return dutyOfficer;
	}

	public void setDutyOfficer(String dutyOfficer) {
		this.dutyOfficer = dutyOfficer;
	}

	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public String getCarNum() {
		return carNum;
	}

	public void setCarNum(String carNum) {
		this.carNum = carNum;
	}

	public String getStartingPoint() {
		return startingPoint;
	}

	public void setStartingPoint(String startingPoint) {
		this.startingPoint = startingPoint;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public boolean isUploadDirect() {
		return isUploadDirect;
	}

	public void setUploadDirect(boolean isUploadDirect) {
		this.isUploadDirect = isUploadDirect;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	
}
